<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>新增科室</title>
	<link href="/plugins/layui/css/layui.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<form class="layui-form" action="/dept?action=save" method="post" >
		<div class="layui-form-item">
			<label class="layui-form-label">科室名</label>
			<div class="layui-input-inline">
				<input type="hidden" name="id" value="${dept.id }"/> <input
					type="text" id="name" name="name" lay-verify="title"
					value="${dept.name }" autocomplete="off" placeholder="请输入科室名"
					class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">电话</label>
				<div class="layui-input-block">
					<input type="text" name="tel" id="tel" value="${dept.tel}" autocomplete="off" placeholder="请输入电话" class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">地址</label>
				<div class="layui-input-block">
					<input type="text" name="address" id="address" value="${dept.address}" autocomplete="off" placeholder="请输入地址" class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				<input type="button" onclick="history.go(-1)" class="layui-btn" value="返回">
			</div>
		</div>
	</form>
<script src="/plugins/layui/layui.js"></script>
</body>
</html>